package com.deyuanyun.pic.settings.controller.dto;

/**
 * @author chace.cai   xu
 * @description
 * 文件信息
 * @date 2016/4/15
 */
public class MyFileVO {
    //文件类别,头像或者其他 对应 CUSTOM_TYPE
    private String type;

    //附件与业务的关联id
    private String businessId;

    //期望得到的返回结果是路径还是id   path  or id
    private String responseString;

    private boolean onlyOne;//此type下，只有一个附件，为true的情况下会自动标记删除之前的附件，比如头像就应该为true

    public String getResponseString() {
        return responseString;
    }

    public void setResponseString(String responseString) {
        this.responseString = responseString;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isOnlyOne() {
        return onlyOne;
    }

    public void setOnlyOne(boolean onlyOne) {
        this.onlyOne = onlyOne;
    }

}
